package object;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

/**
 * 说明:
 *
 * @author:SuZhongHe
 * @date:2023/3/1
 **/
public class IntegerDemo {
    public static void main(String[] args) {
        int max=Integer.MAX_VALUE;
        int min=Integer.MIN_VALUE;
        System.out.println("大:"+max+",小:"+min);
        String s1="123";
        int age= Integer.parseInt(s1);
        System.out.println(age);
        String s2="123.23";
        double num=Double.parseDouble(s2);
        System.out.println(num);

















        /*
        Integer i1 = new Integer(500);
        Integer i2 = new Integer(500);
        System.out.println(i1==i2);
        System.out.println(i1.equals(i2));
        Integer i3=Integer.valueOf(500);
        Integer i4=Integer.valueOf(500);
        System.out.println(i3==i4);
        System.out.println(i3.equals(i4));
        int i5=i4.intValue();
        System.out.println(i5);

         */

    }
}
